package entity;

/**
 * @author Rain
 * @Description :
 * @date 2022/08/19 11:35
 */
public class Love extends Wife{
    private int star;

    public Love() {

    }

    public Love(int star) {
        this.star = star;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Love{");
        sb.append("star=").append(star);
        sb.append('}');
        return sb.toString();
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }
}
